package com.fun_ordering.mapper;

import com.fun_ordering.pojo.EmployeeTask;
import com.fun_ordering.pojo.EmployeeTaskExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface EmployeeTaskMapper {
    int countByExample(EmployeeTaskExample example);

    int deleteByExample(EmployeeTaskExample example);

    int deleteByPrimaryKey(Integer taskId);

    int insert(EmployeeTask record);

    int insertSelective(EmployeeTask record);

    List<EmployeeTask> selectByExample(EmployeeTaskExample example);

    EmployeeTask selectByPrimaryKey(Integer taskId);

    int updateByExampleSelective(@Param("record") EmployeeTask record, @Param("example") EmployeeTaskExample example);

    int updateByExample(@Param("record") EmployeeTask record, @Param("example") EmployeeTaskExample example);

    int updateByPrimaryKeySelective(EmployeeTask record);

    int updateByPrimaryKey(EmployeeTask record);
}